package com.demo;

public class IfElse {
    public String perform(String cmd) {
        if(cmd.equals("chkCard")) return "check card";
        if(cmd.equals("chkBuffer")) return "check buffer";
        if(cmd.equals("queryStats")) return "query stats";
        return null;
    }
}
